package com.zhb.mapper;

import com.zhb.beans.SourcesPhoto;

import java.util.List;
import java.util.Map;

public interface SourcesPhotoMapper {
    Integer save(SourcesPhoto sourcesPhoto);

    Integer saveImg(SourcesPhoto sourcesPhoto);

    /**
     * 显示所有图片
     */
    List<SourcesPhoto> getImgList();

    SourcesPhoto selectPohtoByName(String imgName);

    List<SourcesPhoto> pageQueryData(Map<String, Object> map);

    int pageQueryCount(Map<String, Object> map);
}
